BlueSpray - Help
© SchoonerTurtles, Inc. 2012-2015

Introduction
Contents
Getting Started
Download
Navigating
Tutorials
Scripting
Advanced
About

Class STStyle

Extends STContent

All the settings to draw an item with a frame, border, and text.
Implements most of the drawing settings available with the Graphics2D class.


Copyright, SchoonerTurtles LLP, 2009
@author Jim Graham

ReturnsDefaultFunctionThrows
    STStyle(Color PenColor,Color FillColor,double FontSize,boolean NewSizeInRefUnits) Exception

Object Functions


  STStyle(Color PenColor,Color FillColor,double FontSize,boolean NewSizeInRefUnits) Exception

Create a new style object with the specified pen color,fill color, and
font size. This is a convenience function to allow a style object to
be created in one function call.

Parameters:
    PenColor - standard java color of the pen, null for no pen
    FillColor - the standard java color of the fill, null for no fill
    NewFontSize - font size in reference or pixel units, 0 for no text drawing
    NewSizeInRefUnits - true if the font size is in reference (map) units, false for pixels
Throws: Exception